package com.zhangjq.simplefactory;

import com.zhangjq.common.IPay;

/**
 * Created by Administrator on 2019/3/9 0009.
 */
public class PayFactory2 {
    public IPay pay(PayTypeEnum payType){
        return payType.getiPay();
    }
}
